<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>未成功订单列表  </title>
    <link rel="stylesheet" href="${base}/layui/css/layui.css">
    <link rel="stylesheet" href="${base}/awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="${base}/css/admin.css">
    <style>
    	.layui-bg-black{        width: 200px;height: 136px;margin-right: 30px;float: left;text-align: center;font-size: 33px;color: #000000!important;padding-top: 30px;}
    	.hide {display: none;}
    	.checkbox{display: inline-block;}
    	.layui-form-item{font-size: 18px;}
    	.width100 {width: 100px; margin-right: 30px;float: left;}
    	.width180 {width: 180px; margin-right: 20px;float: left;}
    	.layui-input { display: inline-block; }
    	
    </style>
</head>
<body  class="layui-layout-body" style="overflow:scroll;">
<#include "/common/left.flt">	
<div class="layui-main" style="position: absolute;left: 204px;top: 4px; width: calc(100% - 210px);" >
<fieldset class="layui-elem-field layui-field-title" >
  <legend>操作提示</legend>
</fieldset>

<blockquote class="layui-elem-quote layui-quote-nm">
 	<form action="${base}/hot_order_list/index2" method="post" id="dataForm">
        <input type="hidden" id="page" name="page" value="1"/>
 		<div class="layui-input-inline" style="margin-top: 10px;">
 			<input name="start_time" id="start_time" class="width180 layui-input" value="${start_time?default('')}" placeholder="下单开始时间" /><input name="end_time" id="end_time" class="layui-input width180" value="${end_time?default('')}"  placeholder="下单结束时间" />
 			<input placeholder="五十度id" name ="user_id" class="width180 layui-input" value="${user_id?default('')}" title="不带20开头的." />
 		</div>
 		<div class="layui-input-inline" >
 			<button class="layui-btn" lay-submit=""> <span class="fa fa-search"></span> 查询</button>
 		</div>
    </form>
</blockquote> 
<table class="layui-table" >
	<thead>
       <tr>
           <th>订单编号</th>
           <th>用户id</th>
           <th>会员到期时间</th>
           <th>生日</th>
           <th>注册时间</th>
           <th>常驻地区</th>
           <th>昵称</th>
           <th>性别</th>
           <th>标题</th>
           <th>价格</th>
           <th>支付方式</th>
           <th>充值时间</th>
        </tr>
     </thead>
     <tbody>
     <#list page.list as one>
     <tr>
     	<td>${one.order_num}</td>
     	<td><a href="${base}/users_list/detail?user_id=${one.user_id?default('')}" target="_blank">${one.user_id?default('')}</a></td>
     	<td>${one.vip_end_time_string?default('')}</td>
     	<td>${one.birthday_string?default('')}</td>
     	<td>${one.u_create_time_string?default('')}</td>
     	<td>${one.area_name?default('')}</td>
     	<td><script>document.write(decodeURIComponent("${one.nick_name?default('')}"));</script></td>
     	<td>${one.sex_name?default('')}</td>
     	<td>${one.title?default('')}</td>
     	<td>${one.price?default('')}</td>
     	<td>${one.buy_type?default('')}</td>
     	<td>${one.create_time_string?default('')}</td>
     </tr>
     </#list>
     </tbody>
</table>
<div id="pageDiv"></div>
<form action="${base}/util/uploadFile" method="post" name="uploadForm" enctype="multipart/form-data" id="uploadForm" class="hide" >
    <input name="pic" type="file" id="pic" class="hide"/>
</form>
</body>
<script src="${base}/js/jquery-2.1.4.min.js" type="text/javascript"></script>
<script src="${base}/layui/layui.all.js"></script>
<script type="text/javascript">
layui.use('laydate', function(){
	  var laydate = layui.laydate;
	  //执行一个laydate实例
	  laydate.render({
	    elem: '#start_time' //指定元素
	  });
	  laydate.render({
	    elem: '#end_time' //指定元素
	  });
});
layui.use('laypage',function () {
    var laypage = layui.laypage ;
    laypage.render({
        elem:"pageDiv",
        count:${page.totalPage*15},
        limit:15,
        curr:${page.pageNumber},
        layout:['count','prev','page','next','skip'],
        jump:function (obj,first) {
            var page = obj.curr;
            if(!first){
                $("#page").val(page);
                $("#dataForm").submit();
            }
        }
    });
});
</script>
</html>